package main

import (
	"fmt"
	"get-info-from-url/request"
	"get-info-from-url/translate"
)

func main() {
	var r request.Request
	description := r.GetHtmlData()
	// var ts translate.Translate

	// description := "hello"

	// translatedDescription, err := ts.TranslateText(description, "en", "zh")
	// if err != nil {
	// 	log.Fatalf("Failed to translate: %v", err)
	// }

	translatedDescription := translate.Trans(description)
	fmt.Println(translatedDescription)

}
